<%-- 
    Document   : uploadmaterial
    Created on : Jun 23, 2012, 2:35:48 PM
    Author     : FRIENDS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>upload material</title>
    </head>
    <body>
        <%
        String courseid=request.getParameter("courseid");
        System.out.println(courseid);
        %>
        <h2>insert material for  <%=courseid%> </h2>
        <form name="uploadform" action="uploadma" method="post" enctype="multipart/form-data">
            <table> 
                <tr><td>course :</td><td> <input type="text" readonly="readonly" name="courseid" value="<%=courseid%>" /></td></tr>
                <tr><td>description: </td><td><textarea name="description" ></textarea></td></tr>
                <tr><td>material :</td><td><input type="file" name="file" /></td></tr>
                <tr><td></td><td><input type="submit" name="submit" value=" upload " /></td></tr>
            </table>
        </form>
    </body>
</html>
